<template>
	<view>
		<u-cell-group title="基本信息">
			<u-cell-item title="账户名" :value="bank.name + '储蓄卡'" :arrow="false"></u-cell-item>
			<u-cell-item title="卡号" :arrow="false">
				<u-input type="text" placeholder="输入卡号后四位" input-align="right" height="80" />
			</u-cell-item>
			<u-cell-item title="账户余额" :arrow="false">
				<b-number-input :value="200.01" slot="right-icon"></b-number-input>
			</u-cell-item>
		</u-cell-group>

		<view class="u-m-t-10 button-box">
			<u-button type="warning">保存</u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				bank: {"name":""}
			}
		},
		onLoad(query) {

			let bank = this.$api.getBank(query.bankId);
			if(bank){
				this.bank = bank;
			}
		},
		methods: {


		}
	}
</script>

<style lang="scss">
	.button-box {
		padding: 30rpx;
	}
</style>
